﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SMTC.Model.Model;

namespace SMTC.Dao.AnalyzePara
{
    public class AnalyzeParaQueryServicesDao : BaseDao
    {
        #region 参数获得
        private const string SQL = @"SELECT TargetTime,
	                                EquipmentProcurementCycle,
	                                WarningLeadTime,
	                                YellowAlert,
	                                RedAlert FROM dbo.SMT_para";

        #endregion
        #region 处理方法

        public SMT_paraModel getPara()
        {
            return DBTemplete.ExcuteGetObject<SMT_paraModel>(CommandType.Text, SQL);
        }

        #endregion
    }
}